home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
- Program: BKCK.EXE
- Version: Version 2.1
- Date: April 10, 1988
-
-
- Usage:
- BKCK [filespec] [switches]
-
- Filespec
- the same as with the DOS DIR command
-
- Switches
- /A Check all disk drives on system
- /F Display filenames only (suppress size, date, & time info)
- /P Pause mode - after each screen
- /T Display totals only (summary)
- /DT Suppress summary of each directory
- /S Check subdirectories also
- /TT Same as /S/DT/T all together
- /A:mm-dd-yy to specify files changed AFTER date
-
- Notes:
- Enter "BKCK ?" to get a display of these commands.
-
- The AFTER switch checks only files changed after the specified
- date. Not to be confused with "on or after" the date, only
- "after" the date.
-
- When using the /A switch to check all drives, it automatically
- assumes the root directory and the /S switch.
-
- I added the /TT because I like to get a total summary for my
- entire disk without seeing all the files and subdirectory totals,
- and I get tired of typing /S/DT/T every time.
-
- Hint: I use this program to get a directory listing of only the
- latest files in a directory. This is useful if you have a large
- directory and want to see the few files you have just downloaded
- (for example), without having to sift through the long list
- generated by the DOS DIR command.
-
-
-
-
-
- BKCK.EXE - Version 2.1 by John Crouch
-
-
-
- INTRODUCTION
-
- BKCK will give information about files on your hard disk that need
- backing up. It will display only those files which have their
- archive bit set.
-
- SYSOPS and other people with multiple drives will like the /A option.
- It will check all drives on your system and give a summary for each
- drive, and a summary for all drives combined. In future versions I
- would like to make this feature recognize SUBSTitute and ASSIGNed
- drives and skip over them. However, at this time I have not been
- able to find a reliable method to determine these types of
- configurations; there are no documented DOS functions for this
- purpose. I'm sorry for any inconvenience this may cause you, but
- until I can find a reliable method for detecting these types of
- drives we must live with this problem.
-
- For a hard copy of the information supplied by BKCK, use the
- redirection command to redirect the output to the printer: BKCK >PRN
-
-
- A MAJOR CHANGE IN THE ERRORLEVEL RETURNED:
-
- BKCK will return an errorlevel for checking in a batch file.
- Previous versions returned an errorlevel based on the number of files
- which needed backing up on the disk. THE ERRORLEVEL RETURNED WITH
- THIS VERSION IS BASED ON THE PERCENTAGE OF DATA NEEDING TO BE BACKED
- UP. The percentage of data needing backed up is rounded to the
- nearest integer and returned as the errorlevel. If an error occurs
- while running the program, the errorlevel returned is 255. An
- example of how this can be checked in a batch file follows:
-
-
- IF ERRORLEVEL 255 GOTO PROGERROR
- IF ERRORLEVEL 50 GOTO TOOMUCH
- ECHO Less than 50 percent of your data needs backing up.
- GOTO END
-
- :TOOMUCH
- ECHO MORE THAN 50 PERCENT OF YOUR DATA NEEDS BACKING UP.
- ECHO ITS TIME TO DO A BACKUP!
- REM A COMMAND TO RUN YOUR BACKUP PROGRAM BE INSERTED START HERE.
- GOTO END
-
- :PROGERROR
- ECHO AN ERROR HAS OCCURRED WHILE RUNNING THE PROGRAM.
-
- :END
-
-
-
-
-
-
-
- BKCK.EXE - Version 2.1 by John Crouch
-
-
-
- TECHNICAL INFORMATION
-
- The BKCK program was written and compiled with Borland's TurboC,
- Version 1.5. Many specific functions were created in C and Assembly
- language. Assembly language routines were assembled with the
- Microsoft Macro Assembler, Version 5.0. The Norton Editor was used
- for most of the program editing.
-
-
- VERSION INFORMATION
-
- Version 1.0 -
- was (of course) the first release. It was written entirely in
- assembly language. This program was blazing fast, but with little
- features.
-
- Version 1.1 -
- woops... fixed a minor bug in this one. One user found that it
- would not work properly with hidden subdirectories. Also added
- the feature to use the environment SET command to force the
- program not to use the 8087 co-processor.
-
- Version 2.0 -
- completely redone in Borland's TurboC. This version is slightly
- slower than the assembly language version, but contains many new
- options, like allowing you to specify file names, check all
- drives, etc.
-
- Version 2.1 -
- added a few more options and fixed some minor bugs. The AFTER
- switch was added (as requested by a user) to allow checking files
- changed after a certain date, and the errorlevel returned was
- changed to be a percentage instead of a file count.
-
-
-
-
-
-
-
- BKCK.EXE - Version 2.1 by John Crouch
-
-
-
- PLEASE CONTRIBUTE!!
-
- Programmers need your comments and suggestions concerning their
- programs. Without these comments, programs might never be updated.
- Let me hear what you think about this program, and encourage more
- programs by giving contributions. There are many very good products
- available on BBS systems today. So if you find this program useful,
- please send a $15 contribution to the address below.
-
- I would like to thank all the people who have sent contributions and
- suggestions. Those of you know who you are, and will recognize that
- some of those suggestions have been incorporated into this version of
- BKCK.
-
- Send suggestions for this program, and new ideas for other programs
- to one of the following locations:
-
-
- John Crouch
- P.O. Box 1521
- Frederick, Maryland 21701
-
- -------------------------
-
- CompuServe EasyPlex Mail The New Micro Connection BBS
- 71310,2612 (301) 698-0212
-
-
-
-
-
-
-
- BKCK.EXE - Version 2.1 by John Crouch
-
-
-
-
- DISCLAIMER
-
- This code is released into the public domain with two restrictions as
- to its use.
-
- 1. The program must not be modified in any way.
- 2. The program must not be sold.
-
- The author has taken due care in writing this code, and the code is
- supplied as is. The author makes no expressed or implied warranty of
- any kind with regard to this code. In no event shall the author be
- liable for incidental or consequential damages in connection with or
- arising out of the use of this code.
-
-